#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
__title__ = ''
__author__ = 'tyh'
__mtime__ = '18-10-10'
# code is far away from bugs with the god animal protecting ~
"""

from rest_framework import serializers

from areas.models import Area


class AreaListSerializer(serializers.ModelSerializer):

	class Meta:
		model = Area
		fields = ('id', 'name')